OSStatus PMGetOrientation(PMPageFormat pageFormat, PMOrientation *orientation)
pageFormatA
pageFormat